/*
 * @FileDescription: 公共请求接口
 * @Author: zsf
 * @Date: 2021-07-02 10:24:30
 * @LastEditors: zsf
 * @LastEditTime: 2021-07-08 18:13:14
 */
import { GET, POST } from '@/api/axios.js'

export const userLogin = data => POST("/user/login", data);
// 国家下拉
export const getAreaAll = () => GET("/Area/getAreaAll");
// 店铺下拉
export const getStoreAll = () => GET("/Store/getStoreAll");
// 品牌下拉
export const getBrandAll = () => GET("/Brand/getBrandAll");
// spu下拉
export const getSpuAll = () => GET("/Goods/getSpuAll");
// asin下拉
export const getAsinAll = () => GET("/PublicList/getAsinAll");

// 获取折扣明细列表
export const getPromoteDetailList = params => GET("/Promote/getPromoteDetailList", params);
